﻿namespace IOA.MES.DataAccess.VModel
{
    /// <summary>
    /// 工单分档方案
    /// </summary>
    public class VWorkOrderBinningSchema : BaseVModel
    {
        private string _orderNo = string.Empty;
        private string _workOrderNo = string.Empty;
        private string _binningSchemeName;
        private string _nameplateModel;

        #region Public Property

        ///<Summary>
        /// 订单号
        ///</Summary>
        public string OrderNo
        {
            get { return string.IsNullOrWhiteSpace(_orderNo) ? string.Empty : _orderNo; }
            set { _orderNo = value; }
        }

        ///<Summary>
        /// 工单号
        ///</Summary>
        public string WorkOrderNo
        {
            get { return string.IsNullOrWhiteSpace(_workOrderNo) ? string.Empty : _workOrderNo; }
            set { _workOrderNo = value; }
        }

        ///<Summary>
        /// 分档规则ID
        ///</Summary>
        public int BinningSchemeId { get; set; }

        /// <summary>
        /// 功率档ID
        /// </summary>
        public int BinningPowerId { get; set; }

        /// <summary>
        /// 功率
        /// </summary>
        public decimal BinningPower { get; set; }

        /// <summary>
        /// 铭牌方案
        /// </summary>
        public string NameplateModel
        {
            get { return string.IsNullOrWhiteSpace(_nameplateModel) ? string.Empty : _nameplateModel; }
            set { _nameplateModel = value; }
        }
        #endregion
    }
}
